package com.coin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.coin.domain.*;

/**
 * @Auther: 李 力
 * @Date: 2025/6/23
 * @Description: com.coin.service
 * @version: 1.0
 */
public interface UserFavoriteMarketService extends IService<UserFavoriteMarket> {

    /**
     * @Description: 用户收藏某个市场
     * @Author: 李 力
     * @Date: 2025/6/23
     * @Param:
     * @return: R
     */
    boolean saveMarket(Long userId, Market market);

    /**
     * @Description: 用户取消收藏某个市场
     * @Author: 李 力
     * @Date: 2025/6/23
     * @Param:
     * @return: R
     */
    boolean deleteUserFavoriteMarket(String symbol, Long userId);
}
